Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.ecm.platform.comment.workflow.operation.contrib--chains

This contribution is part of XML component org.nuxeo.ecm.platform.comment.workflow.operation.contrib inside nuxeo-platform-comment-workflow-5.8.jar

Extension Point

Extension point chains of component OperationServiceComponent.

Contributed Items

  • <chain id="acceptComment">
          <operation id="Context.FetchDocument"/>
          <operation id="Comment.Moderate">
            <param name="accept" type="boolean">true</param>
          </operation>
        </chain>
  • <chain id="rejectComment">
          <operation id="Context.FetchDocument"/>
          <operation id="Comment.Moderate">
            <param name="accept" type="boolean">false</param>
          </operation>
        </chain>

XML Source

<extension point="chains" target="org.nuxeo.ecm.core.operation.OperationServiceComponent">

    <chain id="acceptComment">
      <operation id="Context.FetchDocument"/>
      <operation id="Comment.Moderate">
        <param name="accept" type="boolean">true</param>
      </operation>
    </chain>

    <chain id="rejectComment">
      <operation id="Context.FetchDocument"/>
      <operation id="Comment.Moderate">
        <param name="accept" type="boolean">false</param>
      </operation>
    </chain>

  </extension>